package com.demo.logistics.entities;

public class Stocks {
	private int id;
	private String productName;
	private int quantity;
	private String lorryPlateNo;
	private String driverName;
	private String location;
	
	public Stocks(int id, String prodName, int qty, String lorryPN, String driver, String loc){
		this.setId(id);
		productName = prodName;
		quantity = qty;
		lorryPlateNo = lorryPN;
		driverName = driver;
		location = loc;
	}
	
	public Stocks(String prodName, int qty, String lorryPN, String driver, String loc){
		this.setId(id);
		productName = prodName;
		quantity = qty;
		lorryPlateNo = lorryPN;
		driverName = driver;
		location = loc;
	}

	public void setId(int id) {
		this.id = id;
	}

	public int getId() {
		return id;
	}

	public String getProductName() {
		return productName;
	}

	public void setProductName(String productName) {
		this.productName = productName;
	}

	public int getQuantity() {
		return quantity;
	}

	public void setQuantity(int quantity) {
		this.quantity = quantity;
	}

	public String getLorryPlateNo() {
		return lorryPlateNo;
	}

	public void setLorryPlateNo(String lorryPlateNo) {
		this.lorryPlateNo = lorryPlateNo;
	}

	public String getDriverName() {
		return driverName;
	}

	public void setDriverName(String driverName) {
		this.driverName = driverName;
	}

	public String getLocation() {
		return location;
	}

	public void setLocation(String location) {
		this.location = location;
	}
}
